package com.whu.zqm.myioc.xmlreader;

import com.whu.zqm.myioc.beanshuxing.BeanDefinition;

public interface BeanDefinitionRegistry {
    //注册
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    //移出
    void removeBeanDefinition(String beanName) throws Exception;

    //取
    BeanDefinition getBeanDefinition(String beanName) throws Exception;

    //判断是否包含
    boolean containsBeanDefinition(String beanName);

    //取数量
    int getBeanDefinitionCount();

    //取beandefinition名字
    String[] getBeanDefinitionNames();

}
